package com.cennavi.buss.service.imp;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.cennavi.buss.service.ContactUsService;
import com.cennavi.minemap.bean.MessageBean;

@FeignClient(value = "user-service", fallback = ContactUsService.class)
public interface IContactUsService {
	@RequestMapping(method = RequestMethod.POST, consumes = "application/x-www-form-urldecoded", value = "/service/contact/send")
	public MessageBean sendMail(@RequestBody String json);
}
